<div id="post-{{ post.id }}" class="post-brief">
    <div class="post-brief-inner">
	<div id="post-title-{{ post.id }}" class="post-title-brief">
		<a href="{% url blog:post-detail post.pub_date.year,post.pub_date|date:"b",post.pub_date.day,post.slug %}">{{ post.title }}</a>
	</div><!-- /post-title-brief -->

{% include "blog/snippets/post_meta.xhtml" %}

	<div id="post-summary-{{ post.id }}" class="post-body-brief">
		{{ post.content|safe|truncatewords_html:300 }}
        </div> <!-- /post-body-brief -->

        <div id="post-footer-{{ post.id }" class="post-footer-brief">
            {% if post.tags.all %}
            Tags:
            {% for item in post.tags.all %}
            <a href="{% url blog:tag-list item.tag.slug %}">{{ item.tag.text }}</a>{% ifnotequal forloop.revcounter0 0 %},{% endifnotequal %}
            {% endfor %}
            &laquo;&raquo;
            {% endif %}
            {% if post.topics.all %}
            Topics:
            {% for item in post.topics.all %}
                <a href="" title="{{ item.topic.description|striptags }}">
                {{ item.topic }}</a>{% ifnotequal forloop.revcounter0 0 %}, {% endifnotequal %}
            {% endfor %}
            {% endif %}
        </div> <!-- /post-footer-brief -->
    </div> <!-- /post-brief-inner -->
</div> <!-- /post-brief -->